{% extends 'common/templates/base_sidebar.html' %}
{% load nonce format %}
{% block title %}Overview{% endblock %}

{% block above_container %}
{% if unconfirmed_email and not flash %}
<div class="notice">
  <p>
  You have not yet confirmed your email address "{{unconfirmed_email}}", if you have not received your confirmation message you can <a href="{% url_for view request %}/settings/email">request another</a>.
  </p>
 </div>
{% endif %}
{% endblock %}

{% block content %}
{% include 'common/templates/message_form.html' %}

{% if not request.mobile %}
  <ul id="sub-nav">
    <li class="first current">
      <a href="{{view.url}}/overview">Overview</a>
    </li>
    <li>
      <a href="{{view.url}}">Your {{POST_NAME}}s</a>
    </li>
  </ul>
{% endif %}

<div id='stream'>
  <h2>Hi {{view.display_nick}}! Here's the latest from your contacts</h2>


  {% include 'common/templates/stream.html' %}
  {% include 'common/templates/paging.html' %}

  <p class="tools">
    {% if feeds %}
      <a href="{{feeds.0.url}}" class="rss" title="{{feeds.0.title}} ({{feeds.0.type}})">{{feeds.0.title}}</a>
    {% endif %}
  </p>
</div>
{% endblock %}

{% block sidebar %}
{% include 'common/templates/sidebar_location.html' %}
{% include 'common/templates/sidebar_contacts.html' %}
{% include 'common/templates/sidebar_channels.html' %}
{% with view_streams as streams %}
{% include 'common/templates/sidebar_streams.html' %}
{% endwith %}
{% include 'common/templates/sidebar_search.html' %}
{% endblock %}
